#include "../Logger.h"
#include <iostream>
using namespace std;
int main(){
	string errmsg;
	if(!CLogger::Init("../log4cplus.conf",errmsg)){
		cout<<"CLogger init failed,errmsg="<<errmsg<<endl;
		return -1;
	}

	LOGDBG("this is debug");
	LOGINFO("this is info");
	LOGWARN("this is warn");
	LOGERR("this is err");
	LOGFATAL("this is fatal");
	return 0;
}

